<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
品牌列表
</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/tools/jquery-1.4.2.min.js"></script>
</head>

<body>
<div class="container">
<jsp:include page="../head.jsp"/> 
<div class="content">
<br />
</div>
<div class="wrap">
<div class="left">
              
             <s:iterator value="brandUserList" id="id" status="status">  
             <div class="me">
                  <div class="me_top"><a  target="_parent"><s:property value="#id[1]"/></a><span style="font-size:12px;font-weight:normal; color:#999999;">......................<a href="user/branduser!brandUserByCategory.action?currentPage=1&category=<s:property value="#id[0]"/>" style="font-size:12px;font-weight:normal; color:#999999;">更多</a></span>
				  </div>
				  <div class="me_con">
				    <div class="hh2">
				    <s:iterator value="#id[2]" id="sid" status="sstatus">
				       <div class="boxm1">
				           <div class="boxm_img">
				              <a href="user/user!brandUserPage.action?currentPage=1&userId=<s:property value="userId"/>" >
				                 <s:if test="image.equals('')">
				                      <img src="uploadFile/img.gif" width="108" height="109"/>
				                 </s:if>
				                 <s:else>
				                    <img src="uploadFile/<s:property value="image"/>" width="108" height="109"/>
				                 </s:else>
				              </a>
				            </div>
				           <a href="user/user!brandUserPage.action?currentPage=1&userId=<s:property value="userId"/>" ><s:property value="eusername"/><br/><s:property value="username"/></a> 
				       </div>
				    </s:iterator>
					 <div class="clear"></div>
					 </div>
				  </div>
			   </div>	
          
             	 </s:iterator>

		
     </div>
	
	<div class="right">
     
		
<div class="box2">
		      <div class="box2_top"><a  target="_parent">最新评论</a></div>
			  <div class="box2_con">
			  <ul class="ul2">
			       <s:iterator value="#request.groupbyCriticismList" id="id" status="status">
			       <s:set name="urlContent"><s:property value="#id[7]"/></s:set>
									   <s:if test="#id[6]==2">
					                      <s:set name="urls">user/user!singleUserPage.action?currentPage=1&id=<s:property value="#id[5]"/></s:set>
									   </s:if>
									   <s:elseif test="#id[6]==3">
									      <s:set name="urls">user/user!groupbyUserPage.action?currentPage=1&id=<s:property value="#id[5]"/></s:set>
									   </s:elseif>
									   <s:elseif test="#id[6]==4">
									      <s:set name="urls">user/user!brandUserPage.action?currentPage=1&userId=<s:property value="#id[5]"/></s:set>
									   </s:elseif>
								       <li>
										<div class="pic">
										   <a href="<s:property value="urls"/>">
											<s:if test="#id[3].equals('')">
					                 			<img src="uploadFile/img.gif" width=60 height=60/>
								            </s:if>
								            <s:else>
								                 <img src="uploadFile/<s:property  value="#id[3]"/>" width=60 height=60/>
								            </s:else>
								            </a>
										</div>
										<div class="info">
											<div class="xin">
												<table width="100%" border="0" cellspacing="0"
													cellpadding="0">
													<tr>
														
														<td width="35%" align="left" valign="middle"
															>
															&nbsp;&nbsp;&nbsp;&nbsp;<s:property value="#id[2]"/>:<a href="<s:property value="urls"/>" class="ziti"><s:property value="#id[4]"/></a>
														</td>
													</tr>

												</table>

											</div>
											<a href="<s:property value="urlContent"/>">
											<s:if test="%{#id[1].length()>50}">
											    &nbsp;&nbsp;&nbsp;&nbsp;<s:property value="#id[1].substring(0,50)"/>...
											</s:if>
											<s:else>
											    &nbsp;&nbsp;&nbsp;&nbsp;<s:property value="#id[1]"/>
											</s:else>
											</a>
										</div>
										<!--end info-->
										<div class="clear"></div>
									  </li>
									 
								   </s:iterator>
				  
               </ul>

		</div>
		
		
</div>
		
		
		
		<!---------------------end box2-------------------------------------------------------->
		
		
	  </div>
	 <div class="clear"></div>
</div>
</div>
<div id="foot"><jsp:include page="../bot.jsp"></jsp:include></div>


</div>
</body>
</html>
